#ifndef	_STDDEF_H_
#define _STDDEF_H_


#define F_CPU 16000000UL


#include <util/delay.h>
#include <avr/io.h>
#include <avr/interrupt.h>


typedef unsigned char 	U8;
typedef unsigned char 	U08;
typedef unsigned int 	U16;
typedef signed char 	S8;
typedef signed char 	S08;
typedef signed int 		S16;
typedef	unsigned long	U32;
typedef	long			S32;
typedef double          D8;
typedef double          D32;
typedef unsigned int	WORD;
typedef unsigned char	BYTE;



#define		sbi(PORT,BIT)	PORT|= (1<<BIT)
#define		cbi(PORT,BIT)	PORT&=~(1<<BIT)
#define		tog(PORT,BIT)	PORT^= (1<<BIT)



#include "globalprototype.h"
#include "main.h"
#include "isr.h"
#include "Uart.h"
#include "adc.h"
#include "motor_servo.h"





#endif
